package com.songlanyun.modules.opus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.songlanyun.modules.opus.entity.Opus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 作品表
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2021-01-13 16:35:02
 */
@Mapper
public interface OpusDao extends BaseMapper<Opus> {

    List<Opus> appList(Map<String, Object> params);

    IPage<Opus> mePage(IPage<Opus> page, @Param("params") Map<String, Object> params);

    Opus appInfo(Long id);

    IPage<Opus> opusPage(IPage<Opus> page, @Param("params") Map<String, Object> params);

    List<Opus> meList(Map<String, Object> params);

    IPage<Opus> opusAppPage(IPage<Opus> page, @Param("params") Map<String, Object> params);

    IPage<Opus> opusAppThemePage(IPage<Opus> page, @Param("params")Map<String, Object> params);

}
